package com.koron.order.maintain.bean.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * (MaintainItemParams)实体类
 *
 * @author zhouj
 * @since 2021-09-16 09:21:25
 */
@Data
@ApiModel("日常维护工单--作业过程维护参数从表")
public class MaintainItemParamsPo {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "维护工单表主键")
    private String maintainId;

    @ApiModelProperty(value = "维护工单设备表主键")
    private String maintainEquipId;

    @ApiModelProperty(value = "维护项目ID")
    private String itemId;

    @ApiModelProperty(value = "设备ID")
    private String equipmentId;

    @ApiModelProperty(value = "参数ID")
    private String standardParamId;

    @ApiModelProperty(value = "参数名")
    private String name;

    @ApiModelProperty(value = "参数值")
    private String value;

    @ApiModelProperty(value = "计量单位")
    private String unit;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "删除标志, 0：delete_flag=false，代表未删除：delete_flag=true，代表已删除")
    private Integer deleteFlag;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}